package a20.com.yuejian_20.model;

import a20.com.yuejian_20.constant.ServiceConstant;
import retrofit2.Retrofit;
import retrofit2.converter.gson.GsonConverterFactory;

/**
 * Created by ASURA on 2017/9/27.
 */

public class BaseModel {
    protected Retrofit retrofit;
    public BaseModel(){
        retrofit = new Retrofit.Builder()
                .baseUrl(ServiceConstant.service)
                .addConverterFactory(GsonConverterFactory.create())
                .build();
    }
}
